<template>
  <div class="change">
    <span><e-icon type="LanguagePair" color="rgba(107, 121, 142, 0.85)" font-size="22px" /></span>
    <div class="lang">Chinese(Simplified,China)</div>
    <span><e-icon type="Fold" color="#a9b5c9" font-size="12px" /></span>
    <div class="lang">English(United States)</div>
    <div class="lang" style="margin-left: 16px; font-weight: normal">Max number of partner : 5</div>
    <a-divider type="vertical" class="divider"></a-divider>
    <span class="add-t" @click="add">
      <e-icon type="add" color="#a9b5c9" font-size="16px" />
      <span class="text">Add Resource</span>
    </span>
  </div>
</template>

<script setup>
const emits = defineEmits(['add'])

const add = () => {
  emits('add')
}
</script>

<style scoped lang="less">
.change {
  display: flex;
  align-items: center;
  .lang {
    color: @text-black;
    font-size: 14px;
    margin: 0 8px;
    font-weight: 700;
  }
  .divider {
    height: 16px;
    background-color: @border-color;
    margin-left: 16px;
    margin-right: 24px;
    margin-top: 4px;
  }
  .add-t {
    cursor: pointer;
    color: @primary-color;
    .text {
      margin-left: 8px;
      color: #a9b5c9;
    }
  }
}
</style>
